package com.techsoul.module.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.techsoul.module.pms.pojo.entity.PmsBirdObeservation;
import com.techsoul.module.pms.pojo.param.PmsBirdObeservationSearchParam;
import com.techsoul.module.pms.pojo.vo.PmsBirdObeservationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 鸟类观测识别统计Mapper接口
 * 
 * @author liuen
 * @date 2021-10-20
 */
public interface PmsBirdObeservationMapper extends BaseMapper<PmsBirdObeservation> {

    /**
     * 详情
     * @param id
     * @return
     */
    PmsBirdObeservationVo findById(String id);

    /**
     * 列表
     * @param params
     * @return
     */
    List<PmsBirdObeservationVo> findAll(@Param("params") PmsBirdObeservationSearchParam params);

    /**
     * 分页
     * @param page
     * @param params
     * @return
     */
    IPage<PmsBirdObeservationVo> findAll(Page page, @Param("params") PmsBirdObeservationSearchParam params);

}
